import SecondInstanceDetail from './SecondInstanceDetail'
import { StoreState } from '../../redux/Types'
import { connect } from 'react-redux'


export function mapStateToProps({ global: { sample, sampleImgs, workStatus, checkList, roleScore, sampleScore } }: StoreState) {
  return {
    sample,
    sampleImgs,
    workStatus,
    checkList,
    roleScore,
    sampleScore
  }
}
// export function mapDispatchToProps(dispatch: Dispatch<globalActions.GlobalAction>) {
//   return {
//     getList: (type: number, data: any) => {  
      
//     }
//   }
// }
export default connect(mapStateToProps)(SecondInstanceDetail)